# New ports collection makefile for: bamf
# Date created:		2011-08-21
# Whom:		Olivier Duchateau <duchateau.olivier@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	bamf
PORTVERSION=	0.2.104
CATEGORIES=	sysutils
MASTER_SITES=	http://avignu.tuxfamily.org/FreeBSD/distfiles/

MAINTAINER=	duchateau.olivier@gmail.com
COMMENT=	BAMF Application Matching Framework

LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
	girepository-1.0.1:${PORTSDIR}/devel/gobject-introspection \
	gtop-2.0.7:${PORTSDIR}/devel/libgtop

GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 glib20 libwnck
USE_PKGCONFIG=	build
USE_XORG=	x11
CFLAGS+=	-Qunused-arguments
USES=		gmake pathfix

CONFIGURE_ARGS+=	--disable-gtk-doc-html \
	--disable-gtktest \
	--without-html-dir \
	--with-gtk=2

post-patch:
	@cd ${WRKSRC} && \
		${FIND} . -type f -name 'Makefile.in' | \
		${XARGS} ${REINPLACE_CMD} -e 's|symbolic-functions|symbolic|g'

.include <bsd.port.mk>
